package cn.xny.org.mapper;


import cn.xny.basic.mapper.BaseMapper;
import cn.xny.org.domain.Employee;

import java.util.List;


public interface EmployeeMapper extends BaseMapper<Employee> {

    //删除角色
    void delByEmployeeId(Long id);

    //添加角色信息
    void addRole(Employee employee);

    //根据logininfId查询logininfo对象
    Employee loadByLogininfoId(Long id);

    //显示店铺接单员的名字
    List<Employee> queryByShopId(Long shopId);
}
